package org.example.librarysystemspringboot.repository;

import org.example.librarysystemspringboot.entity.model.Reader;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ReaderRepository extends JpaRepository<Reader, Integer> {
    Reader findByNameAndPassword(String name, String password);
    Reader findById(String name);
}
